<LayoutEditFormBox :loading="load">
    <template slot="main">


        <el-form ref="editForm" :model="form" label-width="200px" label-position="left">

            <LayoutCell>

                <LayoutCellItem title="基础">
                    <el-form-item label="设置为默认配送方式" prop="isDefaultFreight" :rules="{ required: true, message: '请选择'}">
                        <el-switch v-model="form.isDefaultFreight" :active-value="1" :inactive-value="0">
                        </el-switch>
                    </el-form-item>




                </LayoutCellItem>

            </LayoutCell>
        </el-form>


    </template>
    <template slot="footer">
        <el-button type="primary" @click="submit()">确定</el-button>
    </template>
</LayoutEditFormBox>